﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Castle.ActiveRecord;

namespace ZDSoft.QLMS.Entity
{
    [ActiveRecord]
    public class Answer : EntityBase<Answer>
    {

        //答案序号
        [Property]
        public string SerialNumber { get; set; }


        //答案内容
        [Property]
        public string Content { get; set; }

        

        //是否为正确答案
        [Property]
        public bool IsCorrect { get; set; }

        //该答案属于的题目
        [BelongsTo("QuestionID")]
        public Question Question { get; set; }
    }
}
